package com.ruoyi.system.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.SysTsWorkOrderBi;

/**
 * SysTsWorkOrderBiService接口
 * 
 * @author SYF
 * @date 2025-06-04
 */
public interface ISysTsWorkOrderBiService {

    public SysTsWorkOrderBi selectSysTsWorkOrderBiByYear(String id);

    /**
     * 查询SysTsWorkOrderBi列表
     * 
     * @param sysTsWorkOrderBi SysTsWorkOrderBi
     * @return SysTsWorkOrderBi集合
     */
    public List<SysTsWorkOrderBi> selectSysTsWorkOrderBiList(SysTsWorkOrderBi sysTsWorkOrderBi);

    /**
     * 新增SysTsWorkOrderBi
     * 
     * @param sysTsWorkOrderBi SysTsWorkOrderBi
     * @return 结果
     */
    public int insertSysTsWorkOrderBi(SysTsWorkOrderBi sysTsWorkOrderBi);

    /**
     * 修改SysTsWorkOrderBi
     * 
     * @param sysTsWorkOrderBi SysTsWorkOrderBi
     * @return 结果
     */
    public int updateSysTsWorkOrderBi(SysTsWorkOrderBi sysTsWorkOrderBi);

    /**
     * 批量删除SysTsWorkOrderBi
     * 
     * @param years 需要删除的SysTsWorkOrderBi主键集合
     * @return 结果
     */
    public int deleteSysTsWorkOrderBiByYears(String[] years);

    /**
     * 删除SysTsWorkOrderBi信息
     * 
     * @param year SysTsWorkOrderBi主键
     * @return 结果
     */
    public int deleteSysTsWorkOrderBiByYear(String year);

    public List<Map<String,Object>> selectKhtsOrder();

    public List<Map<String,Object>> selectKftsOrdersInfo(SysTsWorkOrderBi sysTsWorkOrderBi);
}
